#ifndef TABLEMAIN_H
#define TABLEMAIN_H

#include <QMainWindow>
#include <QMessageBox>
#include <QStandardItemModel>
#include <QModelIndex>

namespace Ui {
class TableMain;
}

class TableMain : public QMainWindow
{
    Q_OBJECT

public:
    explicit TableMain(QWidget *parent = 0);
    ~TableMain();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();
    void itemClicked(QModelIndex index);
private:
    Ui::TableMain *ui;
    QStandardItemModel *standardItemModel;
};

#endif // TABLEMAIN_H
